//
//  SEGOrderTrackInfoModel.h
//  Uhomebk
//
//  Created by mac on 2017/10/9.
//  Copyright © 2017年 mac. All rights reserved.
//

#import "SEGBaseDataModel.h"
#import "SEGOrderTrackChildModel.h"
#import "SEGTemplateModel.h"

#pragma mark - ================<工单轨迹模型>===============
@interface SEGOrderTrackInfoModel : SEGBaseDataModel
@property (nonatomic, strong) NSString *trackId;/**轨迹id */
@property (nonatomic, strong) NSString *trackCode;/**轨迹编码 */
@property (nonatomic, strong) NSString *trackName;/**轨迹名称 */
@property (nonatomic, strong) NSString *isLast;/**是否最后一条数据，显示绿色*/

@property (nonatomic, strong) NSString *charge;/**总价 - 有偿服务 物料清单有时用到 */
@property (nonatomic, strong) NSString *createDate;/**创建时间 */
@property (nonatomic, strong) NSString *handleDate;/**服务处理时间 */
@property (nonatomic, strong) NSString *trackStatus;/**0 待处理，1 已处理 */
@property (nonatomic, strong) NSString *overType;/**0正常完结，1 取消（终止） */
@property (nonatomic, strong) NSArray <SEGOrderCurrentUser *> *currentUser;/**当前待处理用户,或处理用户 */
@property (nonatomic, strong) NSString *nextTrackCode;/**下一环节轨迹编码 */
@property (nonatomic, strong) NSString *nextTrackName;/**下一环节轨迹名称 */
@property (nonatomic, strong) NSArray <SEGOrderCurrentUser *> *nextUser;/** 下一步处理人 */
@property (nonatomic, strong) NSString *dealAdvise;/**处理意见 */
@property (nonatomic, strong) NSString *evalue;/**评价值 */
@property (nonatomic, strong) NSString *isAgree;/**是否通过（同意）1-通过 2-未通过 */
@property (nonatomic, strong) NSString *opUserType;/**1-提单人 2-系统 3-员工【用于评价和回访环节，判断是否是系统自动回访或评价】 */
@property (nonatomic, strong) NSString *overTimeflag;/**超时级别（取supflag） */
@property (nonatomic, strong) NSArray <SEGTemplateModel *> *variables;/**按低保真 处理环节有 照片、语音、视频 （有则下发）） */
@property (nonatomic, strong) NSArray <SEGOrderMateriels *>*materiels;/**物料信息 */
@property (nonatomic, strong) NSArray <SEGOrderPayServices *>*payServices;/**有偿服务信息 */
@property (nonatomic, strong) NSArray <SEGOrderTasks *> *tasks;/**环节的所有处理信息 */

//自定义的属性
@property (nonatomic, strong) NSString *trackDescIsOpen;/**轨迹描述信息是否展开 1-是 0-否 */

@property (nonatomic, strong) NSMutableDictionary * mDictionary;/**原始数据 */
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
@end


